#ifndef __a_device__H
#define __a_device__H

#ifdef __cplusplus
extern "C"
{
#endif

#include "device.h"
#include "ring_buffer.h"
#include "usart.h"

#define P_uart_485 &huart1

extern DMA_HandleTypeDef hdma_usart1_rx;
#define uart485_dma_rx hdma_usart1_rx

    _UsartDevieStruct *get485_device(void);

#ifdef __cplusplus
}
#endif

#endif
